package com.superitem.school.pojo;

import com.sun.org.apache.xpath.internal.operations.Or;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Title: User
 * @Author Charles
 * @Package com.superitem.school.pojo
 * @Date 2023/7/6 14:45
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name= "user")
public class User {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer uid;
    private String username;
    private String userpwd;
    private Data usertime;
    private String dbName;
    private Integer usertype;
}
